// DlgUser.cpp : implementation file
//

#include "stdafx.h"
#include "XIE.h"
#include "DlgUser.h"


// CDlgUser dialog

IMPLEMENT_DYNCREATE(CDlgUser, CDHtmlDialog)

CDlgUser::CDlgUser(CWnd* pParent /*=NULL*/)
	: CDHtmlDialog(CDlgUser::IDD, CDlgUser::IDH, pParent)
{

}

CDlgUser::~CDlgUser()
{
}

void CDlgUser::DoDataExchange(CDataExchange* pDX)
{
	CDHtmlDialog::DoDataExchange(pDX);
}

BOOL CDlgUser::OnInitDialog()
{
	CDHtmlDialog::OnInitDialog();
	return TRUE;  // return TRUE  unless you set the focus to a control
}

BEGIN_MESSAGE_MAP(CDlgUser, CDHtmlDialog)
END_MESSAGE_MAP()

BEGIN_DHTML_EVENT_MAP(CDlgUser)
	DHTML_EVENT_ONCLICK(_T("ButtonOK"), OnButtonOK)
	DHTML_EVENT_ONCLICK(_T("ButtonCancel"), OnButtonCancel)
END_DHTML_EVENT_MAP()



// CDlgUser message handlers

HRESULT CDlgUser::OnButtonOK(IHTMLElement* /*pElement*/)
{
	OnOK();
	return S_OK;
}

HRESULT CDlgUser::OnButtonCancel(IHTMLElement* /*pElement*/)
{
	OnCancel();
	return S_OK;
}
